package portal.monitor.dao.mapper;

import org.apache.ibatis.annotations.Param;
import portal.monitor.dao.MonitorSoftware;

import java.util.List;

public interface MonitorSoftwareMapper {

    int insert(MonitorSoftware record);

    int deleteByPrimaryKey(Integer softwareId);

    int updateByPrimaryKey(MonitorSoftware record);

    MonitorSoftware selectByPrimaryKey(Integer softwareId);

    List<MonitorSoftware> selectByPage(@Param("currentPosition") Integer currentPage, @Param("onePageCount") Integer onePageCount);

    List<MonitorSoftware> selectAll();

    int softwareNum();

    List<MonitorSoftware> selectByPrimaryKeys(Integer[] softwareIds);

}